<template>
    <div class="protocol">
        <pub-top isBorder="true" title="用户协议"></pub-top>


        <div class="protocol-txt" v-html="data.regProtocol"></div>

    </div>
</template>
<script>
import Vue from 'vue';
import { mapState } from 'vuex';
import pubTop from '@/components/top'
export default {
    data(){
        return{
            data:[]
        }
    },
    created(){
        this.axios.get('http://jxjq.0791jr.com/index.php?m=App&c=Login&a=regProtocol', {
            params: {}
        }).then(res => {
            if(res.data.code == 200){
                this.data = res.data.data;
            }
        })
    },
    components: {
        pubTop
    },
}
</script>
<style lang="less" scoped>
.protocol{
    min-height: 100vh;
    background-color: #fff;
    .protocol-txt {
        padding: 0.24rem;
        font-size: 0.28rem;
        color: #333;
        line-height: 150%;
    }
}
</style>

